package com.cn.sc.scitc.cyol;


import org.json.JSONArray;
import org.json.JSONObject;

public class SCController {
    String search;
    String id;
    private String MyToken;
    private  String reMsg;

    public SCController(String _search, String _id)
    {
        _search = _search.replace("#查询 ","");
        _search = _search.replace("#查询","");

        search = _search;
        id = _id;


        TryLogin tryLogin = new TryLogin();
        MyToken = tryLogin.GetObject_Login_token();

        Search sc = new Search();
        sc.stu(search,MyToken);
        reMsg =sc.getReStr();



    }

    public String getMyToken(){
        return MyToken;
    }

    public String getReMsg() {
        return reMsg;
    }
}
